@charset "utf-8";
/*
Theme Name:BootWord
Theme URI:http://responsivewebinc.com
Author:Ashok
update:沉冰浮水
*/

/*全局属性*/
body {
  background: url("img/grey.jpg") repeat scroll 0 0 #fafafa;
  border-top: 5px solid #222222;
}
h2,
h3,
h4,
h5,
h6 {
  margin: 5px 0;
  padding: 5px 0;
}
h1 {
  font-size: 2.5em;
}
h2 {
  font-size: 1.8em;
}
h3 {
  font-size: 1.4em;
}
img {
  max-width: 100%;
  height: auto;
}
.form-control {
  width: auto;
  max-width: 100%;
}
/*Top*/
header {
  background: url("img/head.png") repeat scroll 0 0 #f4f4f4;
}
#BlogTitle {
  font-size: 33px;
}
#BlogSubTitle {
  color: #666;
}
.contact {
  margin-bottom: 10px;
  margin-top: 30px;
}
/*Navbar*/
.navbar-default {
  border-color: #cc412a;
  border-style: solid none;
  border-width: 1px 0;
  margin-bottom: 15px;
}
.navbar-default .navbar-toggle {
  background-color: #e24135;
  border-color: #e24135;
  color: #fff;
  padding: 4px;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  opacity: 0.9;
}
.navbar-collapse {
  border-top: 1px solid transparent !important;
  max-height: 540px;
}
.navbar-nav {
  border-left: 1px solid #111;
  border-right: 1px solid #444;
  margin-left: -15px;
}
.navbar-nav li {
  position: relative;
  list-style: none;
  z-index: 99;
}
.navbar-nav li > a {
  padding: 10px 15px;
  line-height: 20px;
  color: #fff;
  display: block;
  transition: all 1s ease 0s;
}
.navbar-nav li > a:hover {
  text-decoration: none;
}
.navbar-nav li ul {
  display: none;
  position: absolute;
  padding: 0;
  margin: 0;
  left: 0;
  white-space: nowrap;
  /* ↓↓ 一般设置为和.navbar-nav高度相同 */
  top: 40px;
  /* ↓↓ 背景色同样以实际为准 */
  background-color: #222;
}
.navbar-nav li:hover ul {
  display: block;
}
.navbar-nav li > a:hover {
  transition: all 1s ease;
  color: #eee;
  background-color: #cc412a;
}
.navbar-nav > li > a {
  border-left: 1px solid #444;
  border-right: 1px solid #111;
}

/*Main*/
.post,
.sidebar .widget,
.ds-thread {
  background: none repeat scroll 0 0 #fdfdfd;
  border: 1px solid #dddddd;
  margin-bottom: 8px;
  padding: 4px 10px 8px;
}

/*post*/
.post {
  margin-bottom: 15px;
  padding: 5px 13px;
}
.post-title {
  padding-left: 0.5em;
  border-bottom: 1px solid #dedede;
  text-shadow: 1px 1px 2px #ababab;
}
.post .post-title {
  margin-bottom: 10px;
}
.post blockquote {
  font-size: inherit;
  background-color: #fafafa;
}
.post-body p {
  font-size: 15px;
  text-indent: 2em;
  word-wrap: break-word;
}
.post p a {
  text-decoration: underline;
}
.post p a:hover {
  color: #d2322d;
}
.post-tags a {
  text-decoration: none;
}
.post-meta {
  background-color: #fafafa;
  border: 1px solid #eee;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px !important;
  line-height: 23px;
  padding: 0 8px;
}
.post-meta .readmore {
  background-color: #e3411e;
  color: #fff;
  margin-right: -8px;
  padding: 0 8px;
  text-decoration: none !important;
}
.post-meta .readmore:hover {
  opacity: 0.8;
  color: #fff;
}
.pager a {
  color: #cc412a;
  text-decoration: underline;
}
.pager a:hover {
  color: #d2322d;
  text-decoration: none;
  text-shadow: 1px 1px 1px #cc412a;
}
/*分页条*/
.pagination {
  line-height: 17px;
  margin-bottom: 13px;
}
.pagination .now-page,
.pagination a {
  background: none repeat scroll 0 0 #ffffff;
  border: 1px solid #dddddd;
  display: block;
  float: left;
  margin: 2px 2px 2px 0;
  padding: 5px 8px;
}
.pagination .now-page,
.pagination a:hover {
  background: none repeat scroll 0 0 #f3f3f3;
}
/*相关文章*/
#divMutuality li {
  display: inline;
  float: left;
  width: 49%;
}
/*评论区*/
.posttop,
.tbname {
  color: #666;
  border-bottom: 1px dashed #dddddd;
}
.comments label {
  display: inline;
}
.comments .media {
  background-color: #fdfdfd;
  border-color: #ddd #ddd #ddd #e24e35;
  border-style: solid;
  border-width: 1px 1px 1px 3px;
  margin-bottom: 15px;
  padding: 10px;
}
.avatar {
  border: 1px solid #ddd;
  padding: 2px;
}
.msgarticle {
  margin-top: 3px;
}
.revertcomment {
  margin-top: 5px;
}
.revertcomment a {
  color: #e24e35;
}
#divCommentPost label {
  color: #555;
  margin-top: 5px;
  font-weight: normal;
}
#inpVerify {
  display: inline-block;
}

/*侧栏*/
.sidebar a,
.sidebar a:visited {
  color: #777;
}
.sidebar a:hover {
  color: #e3411e;
}
.sidebar h3 {
  border-bottom: 1px dashed #dddddd;
  color: #777777;
  font-size: 16px;
}
.widget ul,
.post ul {
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}
.widget ul li,
.post ul li {
  background: url("img/list.png") no-repeat scroll 2px 7px / 13px 13px
    rgba(0, 0, 0, 0);
  overflow: hidden;
  padding: 4px 0 4px 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#divCalendar table {
  width: 100%;
  line-height: 25px;
}
#divCalendar table td {
  text-align: center;
}
#divCalendar table #today b {
  color: #cc412a;
}
#divMisc ul li {
  padding: 0;
}
/*Footer*/
.footer {
  margin-top: 10px;
  padding: 10px 10px 0;
  background: url("img/bot.jpg") repeat scroll 0 0 #151515;
  border-top: 5px solid #e4311e;
  color: #eee;
}
.footer a:link,
.footer a:visited {
  color: #bbb;
}
.footer a.btn {
  color: #313131;
}
.footer hr {
  border-bottom: 1px solid #333;
  border-top: 1px solid #111;
  margin: 6px 0;
}
.footer .copy {
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: 12px;
}
/*DIY-ICON*/
.contact i:before {
  animation: 2s linear 0s normal none infinite spinAround;
}
.contact i {
  border-radius: 50px;
  height: 50px;
  margin-bottom: 5px;
  margin-right: 8px;
  transition: background 0.2s ease 0s, color 0.2s ease 0s;
  width: 50px;
}
[class^="icon-"],
[class*=" icon-"] {
  display: inline-block;
  vertical-align: top;
}
.icon-sina {
  background: url(img/icons.png) no-repeat;
}
.icon-sina:hover {
  background: url(img/icons.png) no-repeat -50px 0;
}
.icon-email {
  background: url(img/icons.png) no-repeat 0 -50px;
}
.icon-email:hover {
  background: url(img/icons.png) no-repeat -50px -50px;
}
.icon-tencent {
  background: url(img/icons.png) no-repeat 0 -100px;
}
.icon-tencent:hover {
  background: url(img/icons.png) no-repeat -50px -100px;
}
.icon-weixin {
  background: url(img/icons.png) no-repeat 0 -150px;
}
.icon-weixin:hover {
  background: url(img/icons.png) no-repeat -50px -150px;
}
.icon-rss {
  background: url(img/icons.png) no-repeat 0 -200px;
}
.icon-rss:hover {
  background: url(img/icons.png) no-repeat -50px -200px;
}
/* backTop*/
.backTop {
  display: none;
  position: fixed;
  right: 15px;
  bottom: 100px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background: url(img/icons.png) no-repeat 0 -250px;
}
.backTop:hover {
  width: 50px;
  height: 50px;
  background: url(img/icons.png) no-repeat -50px -250px;
}

/*媒体查询*/
@media (min-width: 992px) {
  .post img {
    max-width: 95%;
  }
}
@media (min-width: 767px) {
  .posts {
    width: 68%;
  }
  .sidebar {
    width: 32%;
  }
}
@media (max-width: 767px) {
  header {
    text-align: center;
    margin-bottom: 0;
  }
  #BlogTitle {
    margin: 8px 0;
  }
  h1 {
    font-size: 2.1em;
  }
  h2 {
    font-size: 1.4em;
    margin-top: 0;
  }
  h3 {
    font-size: 1.2em;
  }
  .contact {
    margin-top: 0px;
  }
  .navbar-nav,
  .navbar-nav li a {
    border: 0 none;
  }
  .posts,
  .sidebar {
    padding-left: 5px;
    padding-right: 5px;
  }
  #divSearchPanel .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    width: 59%;
  }
  #divSearchPanel #search {
    width: 100%;
  }
}
